// @flow
import {ANGLE_FLUSH} from '../actions/wtgprs';
import type {Action} from './types';

// eslint-disable-next-line flowtype/no-weak-types
export default function angleFlush(state: Object = {}, action: Action) {
  if (action.type === ANGLE_FLUSH) {
    return action.data;
  }
  return state;
}
